/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package OBJECT;

/**
 *
 * @author Steven
 */
public class DangKyLamViec {
    
    private static int currentMaxId = 0;
    public static int getCurrentMaxId(){
        return currentMaxId;
    }
    public static void setCurrentMaxId(int id){
        currentMaxId = id;
    }
    public static int getNextMaxId(){
        return currentMaxId++;
    }
    
    private int MaDangKyLamViec;
    private int MaNhanVien;
    private int MaLichVanChuyen;
    private java.util.Date NgayDangKy;
    
    private String TenTau;
    private String TenTuyenDuong;
    private java.util.Date ThoiGianKhoiHanh;
    private java.util.Date ThoiGianDen;
    
    private String TenNhanVien;
    
    public DangKyLamViec(){};
    
    public DangKyLamViec(int maNhanVien, int maLichVanChuyen, java.sql.Date ngayDangKy){
        this.MaNhanVien = maNhanVien;
        this.MaLichVanChuyen = maLichVanChuyen;
        this.NgayDangKy = ngayDangKy;
    }

    /**
     * @return the MaDangKyLamViec
     */
    public int getMaDangKyLamViec() {
        return MaDangKyLamViec;
    }

    /**
     * @param MaDangKyLamViec the MaDangKyLamViec to set
     */
    public void setMaDangKyLamViec(int MaDangKyLamViec) {
        this.MaDangKyLamViec = MaDangKyLamViec;
    }

    /**
     * @return the MaNhanVien
     */
    public int getMaNhanVien() {
        return MaNhanVien;
    }

    /**
     * @param MaNhanVien the MaNhanVien to set
     */
    public void setMaNhanVien(int MaNhanVien) {
        this.MaNhanVien = MaNhanVien;
    }

    /**
     * @return the MaLichVanChuyen
     */
    public int getMaLichVanChuyen() {
        return MaLichVanChuyen;
    }

    /**
     * @param MaLichVanChuyen the MaLichVanChuyen to set
     */
    public void setMaLichVanChuyen(int MaLichVanChuyen) {
        this.MaLichVanChuyen = MaLichVanChuyen;
    }

    /**
     * @return the NgayDangKy
     */
    public java.util.Date getNgayDangKy() {
        return NgayDangKy;
    }

    /**
     * @param NgayDangKy the NgayDangKy to set
     */
    public void setNgayDangKy(java.util.Date NgayDangKy) {
        this.NgayDangKy = NgayDangKy;
    }


    /**
     * @return the TenNhanVien
     */
    public String getTenNhanVien() {
        return this.TenNhanVien;
    }

    /**
     * @param TenNhanVien the TenNhanVien to set
     */
    public void setTenNhanVien(String TenNhanVien) {
        this.TenNhanVien = TenNhanVien;
    }

    /**
     * @return the TenTau
     */
    public String getTenTau() {
        return TenTau;
    }

    /**
     * @param TenTau the TenTau to set
     */
    public void setTenTau(String TenTau) {
        this.TenTau = TenTau;
    }

    /**
     * @return the TenTuyenDuong
     */
    public String getTenTuyenDuong() {
        return TenTuyenDuong;
    }

    /**
     * @param TenTuyenDuong the TenTuyenDuong to set
     */
    public void setTenTuyenDuong(String TenTuyenDuong) {
        this.TenTuyenDuong = TenTuyenDuong;
    }

    /**
     * @return the ThoiGianKhoiHanh
     */
    public java.util.Date getThoiGianKhoiHanh() {
        return ThoiGianKhoiHanh;
    }

    /**
     * @param ThoiGianKhoiHanh the ThoiGianKhoiHanh to set
     */
    public void setThoiGianKhoiHanh(java.util.Date ThoiGianKhoiHanh) {
        this.ThoiGianKhoiHanh = ThoiGianKhoiHanh;
    }

    /**
     * @return the ThoiGianDen
     */
    public java.util.Date getThoiGianDen() {
        return ThoiGianDen;
    }

    /**
     * @param ThoiGianDen the ThoiGianDen to set
     */
    public void setThoiGianDen(java.util.Date ThoiGianDen) {
        this.ThoiGianDen = ThoiGianDen;
    }

    
    
}
